TextPipe: Online Help
    Lesson 4 - Adding files
 

Submit feedback on this topic 

 Home  User Assistance   Tutorials   How to Use TextPipe
 Menus: File   Edit   Filters[ Convert   Add   Remove   Unicode   Replace   Special   Map   Email   Restrict ]  Tools   Window   Help   Advanced
Home
Up

 

 

In the last lesson we covered

  • How to move filters in the filter list
  • How to remove filters from the filter list
  • How to disable filters.

In this lesson we'll look at

  • Adding files.

Before we begin, open the filter called 'tutorial\lesson4.fll'

Adding files

(Note - if you're using TextPipe for askSam, you won't be able to add files. Please try the askSam tutorial online, or go to the next lesson).

So far we've just been processing text that's held in TextPipe's Trial Run Area. Now we want to get it to work on some real files, so let's see exactly how we do this:

  1. Open Windows Explorer
  2. Display the folder 'C:\Program Files\TextPipe'
  3. Locate the file called 'tips.txt'
  4. Drag and drop the file from Explorer into TextPipe's filter window (with the title 'Untitled..'). If TextPipe's window is not currently visible, drag (and hold the button down) the file to the task bar area where it says 'TextPipe', pause for 2 seconds until TextPipe comes to the foreground, and then drop the file into TextPipe's window
  5. TextPipe changes to show the Files to Process tab, with the new file added

It's that easy to add a file or files - just drag and drop them from Explorer.

To process the file:

  1. Click the Go button
  2. TextPipe displays the status window
  3. TextPipe processes the file, and then plays a sound to let you know it has finished
  4. Click on the Results tab
  5. Find the line in TextPipe's window (not in the Help) that says 'Output file [C:\Program Files\TextPipe\tips.txt]  Size: ...'
  6. Double click this line
  7. TextPipe opens NotePad to show you the output file.

You can see in the output file that all spaces have been converted to underscore characters '_'. This is what the lesson4.fll filter file is designed to do.

In the next lesson we'll look at

  • Sub filters (filter cascades)

Exercise 4

  1. Modify the lesson4.fll file to replace the underscore characters '_' with spaces, and change tips.txt back to how it was originally. 
  2. Open the output file and make sure it has spaces in it.

Tutorial Index

 

 Contact Us   Support   Community   Tutorials and User Guides (online)
 © 1999-2005 Crystal Software. All rights reserved.